package com.kun.base.config;

import com.kun.util.PropertiesUtil;

/**
 * @author likun
 * 2018/3/15 11:46
 **/
public class Config {

    public static Integer FILE_SYSTEM = Integer.valueOf(getConfigProperties("fileSystem"));

    public static String HEAD_IMAGE_PATH = getConfigProperties("headImagePath");

    public static String INIT_PASSWORD = getConfigProperties("initPassword");


    private static String getConfigProperties(String key) {
        return PropertiesUtil.getProperties("config.properties", key);
    }
}
